#ifndef __TSTACK_H_INCLUDED__
#define __TSTACK_H_INCLUDED__

template<class T> class TStack
{
  private:
    int ind; //cursorul stivei; ne indica care este ultimul elemnet al stivei
    int length; //dimensiunea stivei
    T* t;
  public:
    TStack();
    TStack(int);
    ~TStack();
    void add(T);
    void list();
    bool empty();
    bool full();
};

#endif
/*A template is a "pattern" that the compiler uses to generate a family of classes and/or functions. According to this .cpp file has to be included in order to do the job.*/
